package com.sunwayworld.basemodule.business.batch.service;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.basemodule.basedata.batchtype.bean.LimsBatchCategoryBean;
import com.sunwayworld.basemodule.business.batch.bean.LimsBatchBean;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;

public interface LimsBatchService extends GenericService<LimsBatchBean, Long> {

    void submit(RestJsonWrapperBean wrapper);

    void batchApprove(RestJsonWrapperBean wrapper);

    void batchReject(RestJsonWrapperBean wrapper);

    void submitById(Long id, RestJsonWrapperBean wrapper);

    LimsBatchBean selectForBatchDetailPage(Long id);

    JSONObject recallBatch(RestJsonWrapperBean jsonWrapperBean);

    LimsBatchCategoryBean batchCategory(RestJsonWrapperBean wrapperBean);
}
